package com.jt.admin.service.impl;

import org.springframework.stereotype.Service;
import java.util.Map;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.jt.admin.common.utils.PageUtils;
import com.jt.admin.common.utils.Query;

import com.jt.admin.domain.mapper.TestDataMapper;
import com.jt.admin.domain.entity.TestDataEntity;
import com.jt.admin.service.TestDataService;


@Service("testDataService")
public class TestDataServiceImpl extends ServiceImpl<TestDataMapper, TestDataEntity> implements TestDataService {

    @Override
    public PageUtils queryPage(Map<String, Object> params) {
        IPage<TestDataEntity> page = this.page(
                new Query<TestDataEntity>().getPage(params),
                new QueryWrapper<TestDataEntity>()
        );

        return new PageUtils(page);
    }

}